package tgc.edu.demo.jkxt.entity;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;

import tgc.edu.demo.jkxt.custom.BaseEntity;

@Entity
public class TiKu extends BaseEntity<Integer> {
	private String name;
	private List<Question> question;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	@OneToMany
	public List<Question> getQuestion() {
		return question;
	}
	public void setQuestion(List<Question> question) {
		this.question = question;
	}
	
	
}
